package com.ruoyi.db.domain.system;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户定返活动返还银藻记录对象 pc_client_return_record
 * 
 * @author ruoyi
 * @date 2022-08-05
 */
@ApiModel(value = "PcClientReturnRecord",description = "用户定返活动返还银藻记录对象 pc_client_return_record")
public class PcClientReturnRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户定返活动返还银藻记录表 */
    private Long id;

    /** 用户参与定返活动记录表Id */
    @ApiModelProperty(value="用户参与定返活动记录表Id",name="PcClientReturnRecord$clientReturnRecordId")
    @Excel(name = "用户参与定返活动记录表Id")
    private Long clientReturnRecordId;

    /** 返回日期 */
    @ApiModelProperty(value="返回日期",name="PcClientReturnRecord$returnDate")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "返回日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnDate;

    /** 返回金额 */
    @ApiModelProperty(value="返回金额",name="PcClientReturnRecord$returnAmount")
    @Excel(name = "返回金额")
    private BigDecimal returnAmount;

    /** 用户众筹活动记录表ID */
    @ApiModelProperty(value="用户众筹活动记录表ID",name="PcClientReturnRecord$clientRaiseRecordId")
    @Excel(name = "用户众筹活动记录表ID")
    private Long clientRaiseRecordId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClientReturnRecordId(Long clientReturnRecordId) 
    {
        this.clientReturnRecordId = clientReturnRecordId;
    }

    public Long getClientReturnRecordId() 
    {
        return clientReturnRecordId;
    }
    public void setReturnDate(Date returnDate) 
    {
        this.returnDate = returnDate;
    }

    public Date getReturnDate() 
    {
        return returnDate;
    }
    public void setReturnAmount(BigDecimal returnAmount) 
    {
        this.returnAmount = returnAmount;
    }

    public BigDecimal getReturnAmount() 
    {
        return returnAmount;
    }
    public void setClientRaiseRecordId(Long clientRaiseRecordId) 
    {
        this.clientRaiseRecordId = clientRaiseRecordId;
    }

    public Long getClientRaiseRecordId() 
    {
        return clientRaiseRecordId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clientReturnRecordId", getClientReturnRecordId())
            .append("returnDate", getReturnDate())
            .append("returnAmount", getReturnAmount())
            .append("clientRaiseRecordId", getClientRaiseRecordId())
            .toString();
    }
}
